package cc.comac.mom.bean.base;

import java.io.Serializable;

import cc.comac.mom.entity.base.BaseEntity;
//import cc.comac.mom.util.BeanManager;

public abstract class BaseBean<T extends BaseEntity> implements Serializable{
	
	private static final long serialVersionUID = 1L;
	private String classType = this.getClass().getName();
	protected BaseBean() {
		super();
	}
	
	private T innerData = null;
	
	public T getInnerData() {
		return innerData;
	}
	public void setInnerData(T innerData) {
		this.innerData = innerData;
	}
	
	private int ModificationFlag;
	
	public int getModificationFlag() {
		return ModificationFlag;
	}
	public void setModificationFlag(int modificationFlag) {
		ModificationFlag = modificationFlag;
	}
	//获取容器中的bean，这里主要用来获取handler
	/*
	 * public static <T> T getService(Class<T> classType) { return
	 * BeanManager.getBean(classType); }
	 */
	public String getClassType() {
		return classType;
	}
	
}